<template>
  <div class="shoppingcar_botton">
    <span>
      <i class="iconfont icon-choose" :class="{ check: isactive }"></i>
    </span>
  </div>
</template>

<script>
export default {
  // 组件名称
  name: "shoppingcar_botton", // 组件参数 接收来自父组件的数据
  props: {
    isactive: {
      type: Boolean,
      default() {
        return false;
      },
    },
  }, // 局部注册的组件
  components: {}, // 组件状态值
  data() {
    return {};
  },
};
</script>
<style scoped>
i {
  position: absolute;
  top: 0px;
  left: 13px;
  color: grey;
  font-size: 26px;
  vertical-align: middle;
}
.check {
  color: palevioletred;
}
</style>